#include <pthread.h>
#include "ebm_env.h"
#include "ebm_task.h"
#include "encode.h"


static void creat_pthread(void (*pfunc)(void)) 
{
    pthread_t threads;
	long t=0;
	if (pthread_create(&threads, NULL, pfunc, (void *)t)){
		puts(__func__);
		exit(-1);
	}
}

void ebm_task_start(void)
{
    creat_pthread(ebm_cmd_task);
    creat_pthread(ebm_pg_task);

	return 0;
}









